package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class FOSDemo {
    public static void main(String[] args) throws IOException {
        //向文件fos.os中写入字符
        FileOutputStream fos=new FileOutputStream("./fos.dat");
        fos.write(8);
        fos.write(77);

        System.out.println("写入完毕");

    }
}
